package com.example.science.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 戴
 * @since 2024年10月21日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_info")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    @TableField("user_image")
    private String userImage;

    @TableField("user_identity")
    private String userIdentity;

    @TableField("user_name")
    private String userName;

    @TableField("identity_number")
    private String identityNumber;

    @TableField("user_phone")
    private String userPhone;

    @TableField("sex")
    private String sex;

    @TableField("age")
    private Integer age;

    @TableField("category")
    private String category;


}
